#ifndef __PAGE_MANAGER_H__
#define __PAGE_MANAGER_H__
#include <config.h>

typedef struct pageAction
{
	char *name;
	int (*run)(void);
	int (*getInputEvent)(void);
	struct pageAction *next;
}T_pageAction,*PT_pageAction;

int registerPages(PT_pageAction pageAction);
int initPages(void);
void showPages(void);
int runPage(char *pageName);

int mainpageInit(void);
int settingpageInit(void);

extern unsigned int timeCnt;

#endif

